/* 
 * File:   Repeat.h
 * Author: maximiliano
 *
 * Created on March 26, 2013, 5:43 PM
 */

#ifndef REPEAT_H
#define	REPEAT_H

#include <cstring>
#include "Mangle.h"

using namespace std;

namespace TP3 { namespace Mangling {

class Repeat : public Mangle{
public:

    Repeat(int posIni, int posEnd, int times, int posInsert);

    virtual string& run (string& operating);

    virtual ~Repeat();
    
    virtual string getName();

private:
    int _posIni
      , _posEnd
      , _times
      , _posInsert;

};

}}

#endif	/* REPEAT_H */

